package com.bustle.user.dto.address;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "address")
public class AddressDto
{
  public AddressDto()
  {
  }

  public AddressDto(int anId, String aDepartment, String aCity, String aName, String aPostcode)
  {
    id = anId;
    city = aCity;
    name = aName;
    postcode = aPostcode;
  }

  public int getId()
  {
    return id;
  }

  public void setId(int anId)
  {
    id = anId;
  }

  public String getName()
  {
    return name;
  }

  public void setName(String aName)
  {
    name = aName;
  }

  public String getCity()
  {
    return city;
  }

  public void setCity(String aCity)
  {
    city = aCity;
  }

  public String getPostcode()
  {
    return postcode;
  }

  public void setPostcode(String aPostcode)
  {
    postcode = aPostcode;
  }

  private int id;
  private String city;
  private String name;
  private String postcode;
}
